<?php

class FHome {
	var $db;
 	var $smarty;	
	public function __construct($db, $smarty,$page='',$cat='',$product='') {
		$this->db = $db;
		$this->smarty = $smarty;
		$this->page = $page;
		$this->cat = $cat;
		$this->product = $product;
	}
	
	public function main() {
		$this->smarty->assign("MENUACTIVE", $this->page);
		$this->smarty->display("home.tpl");	
	}
	
	
	
}
?>
